<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>后台管理</title>



<link href="static/css/bass.css" rel="stylesheet" type="text/css">
<script src="static/js/jquery.js" type="text/javascript"></script>


</head>

<body>
<div class="pageHeader">
	<h3><i class="fa fa-table"></i> 文章管理 - <?php echo $action;?></h3>
    <div class="fr">
    	<a href="javascript:history.go(-1);location.reload();" class="btn">返回</a>    
    </div>
</div>



<div class="fromBody">
<form action="?dopost=save" method="post" class="form-validate">
<input type="hidden" name="id" value="<?php echo $art['id'];?>"/>
	<table width="100%" class="tableAAA">
  		<tr>
          <th align="right" valign="top" width="150">文章标题：</th>
          <td>
          <input type="text" name="title" value="<?php echo $art['title'];?>" class="input-xlarge"/>
          
          </td>
        </tr>
        <tr>
            <th align="right" valign="top">所属栏目:</th>
        <td>
        		<select name="tid"  class="input-xlarge">
                	<option value="" >----请选择栏目----</option>
                	<?php echo typelistOption( $art['tid'] ); ?>
                </select> 
        </td>
        </tr>
        <tr>
          <th align="right" valign="top" width="150">属性1：</th>
          <td>
          <label>是否显示：<input type="checkbox" name="display" value="1" <?php if($art['display'] == 1 ){echo 'checked';}?> />  </label> 
          &nbsp;&nbsp;&nbsp;&nbsp;
          排序（升序）：<input type="text" name="sort" class="input-mini" value="<?php echo $art['sort']?>">
          
          </td>
        </tr>
        <tr>
          <th align="right" valign="top" width="150">属性2：</th>
          <td>
          作者：<input type="text" name="writer" class="input-small" value="<?php echo $art['writer']?>">
          &nbsp;&nbsp;
          来源：<input type="text" name="source" class="input-small" value="<?php echo $art['source']?>">
          &nbsp;&nbsp;
          浏览量：<input type="text" name="click" class="input-mini" value="<?php echo $art['click']?>">
          
          </td>
        </tr>
        

        <tr>
          <th align="right" valign="top">发布时间</th>
          <td>
          <input type="text" name="pubtime" value="<?php echo date('Y-m-d H:i:s',$art['pubtime']); ?>"  class="input-medium" wdatepicker="datetime"/>
          &nbsp;&nbsp;
          置顶天数：
          <input type="text" name="sortup" value="<?php echo $art['sortup'] ?>"  class="input-mini" />天
          
          
          </td>
        </tr>

        </tr>
        <tr>
          <th align="right" valign="top">列表图片：</th>
          <td>
          <div kindeditor="uploadpic" class="uploadpic">
          	<button type="button" kebtn="">上传图片</button>
        	<img src="<?php echo $art['litpic'] ?>" keimg="" style="max-width:100px; max-height:100px;">
            <input type="text" name="litpic" value="<?php echo $art['litpic'] ?>" keipt="" class="input-xlarge">
            
		  </div>
          
          </td>
        </tr>
        <tr>
          <th align="right" valign="top">上传附件：</th>
          <td>
          <div kindeditor="uploadfile" class="uploadpic" >
            <button type="button"  kebtn="">上传文件</button>
            <input type="text" name="file" value="<?php echo $art['file'] ?>" keipt="" class="input-xlarge">  
          </div>
          
          </td>
        </tr>
        <tr>
          <th align="right" valign="top">文章模板：</th>
          <td>
          <input type="text" name="tempart" value="<?php echo $art['tempart'] ?>"  class="input-xlarge"/>
          
          </td>
        </tr>
        

        
        <tr>
          <th align="right" valign="top">关键字:</th>
          <td><textarea name="keywords"  style="width:80%;" rows="2"><?php echo $art['keywords'] ?></textarea></td>
        </tr>
        <tr>
          <th align="right" valign="top">描述:</th>
          <td><textarea name="description"  style="width:80%;" rows="3"><?php echo $art['description'] ?></textarea></td>
        </tr>
        <tr>
          <th align="right" valign="top">正文:</th>
          <td><textarea name="body" kindeditor style="width:80%; min-width:700px;height:400px;_visibility:hidden;"><?php echo $art['body'] ?></textarea></td>
        </tr>
        <tr>
          <th align="right" valign="top">&nbsp;</th>
          <td>
          <input type="submit" value="提交" class="btn  btn-primary">
          &nbsp;
          <a class="btn" href="Javascript:window.history.go(-1)"> 取消</a>
          </td>
        </tr>
    </table>
    <div style="height:100px;"></div>
</form>
</div>
<div class="pages">
<!--此处显示分页代码-->
</div>



<!-- 插件 -->
<script src="static/lib/My97DatePicker/WdatePicker.js"></script>

<script src="static/lib/validate/jquery.validate.js"></script>
<script src="static/lib/validate/additional-methods.js"></script>

<link href="static/lib/jbox/Metro/jbox.css" rel="stylesheet"/>
<script src="static/lib/jbox/jquery.jBox.js"></script>

<link rel="stylesheet" href="static/kindeditor/themes/default/default.css" />
<script charset="utf-8" src="static/kindeditor/kindeditor.js"></script>
<script charset="utf-8" src="static/kindeditor/kindeditor-lrxin.js"></script>

<script src="static/js/lrxin-form.js"></script>








</body>
</html>
